package com.meituan.stock.api.http.model.converter;

import com.meituan.stock.api.http.model.response.InitStockHttpResponse;
import com.meituan.stock.biz.model.bo.StockBO;

/**
 * @author ShenWenhao
 * @Created by ShenWenhao
 * @Date 2022/5/9 17:01
 */
public class StockVOConverter {

    public static InitStockHttpResponse fromBO(StockBO stockBO){
        InitStockHttpResponse initStockHttpResponse = new InitStockHttpResponse();
        initStockHttpResponse.setId(stockBO.getId());
        return initStockHttpResponse;
    }
}
